package com.wms.mapper;

import com.github.pagehelper.Page;
import com.wms.dto.UserBackPageQueryDTO;
import com.wms.entity.WmsUserback;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserBackMapper {
    /**
     * 批量删除
     * @param ids
     */
    void delete(List<Integer> ids);

    /**
     * 分页查询
     * @param userBackPageQueryDTO
     * @return
     */
    Page<WmsUserback> pageQuery(UserBackPageQueryDTO userBackPageQueryDTO);

    /**
     * 新增
     * @param wmsUserBack
     */
    void save(WmsUserback wmsUserBack);
}
